import 'package:flutter/foundation.dart';

class Constant {
  /// App运行在Release环境时，inProduction为true；当App运行在Debug和Profile环境时，inProduction为false
  static const bool inProduction = kReleaseMode;

  static bool isDriverTest = false;
  static bool isUnitTest = false;

  static const String data = 'data';
  static const String message = 'msg';
  static const String code = 'code';

  static const String keyGuide = 'keyGuide';
  static const String phone = 'phone';
  static const String password = 'password';
  static const String tokenType = "tokenType";
  static const String accessToken = 'accessToken';
  static const String refreshToken = 'refreshToken';
  static const String perfect = 'perfect';
  static const String existWithdralPassword = 'existWithdralPassword';
  static const String tempUserAvatarUrl = 'tempUserAvatarUrl';
  static const String tenantId = 'TENANT-ID';
  static const String tenantIdValue = '1651225065696526338';
  static const String encryptPasswordKey = "pigxpigxpigxpigx";

  static const String theme = 'AppTheme';
  static const String locale = 'locale';
  static const String backImg = 'assets/images/ic_back_black.png';

  static const bool enableForgetPassword = false;
  static const bool enableRegisterUser = false;
  static const bool needPerfectUserInfo = false;

  static const int pageSize = 20;
  static const String apiHost = 'https://29162r2k77.goho.co';
  static const String imageServerHost = 'https://29162r2k77.goho.co';
  static const String appUpdateHost = 'https://d2ec1w1ws4v4ku.cloudfront.net';
  //http://18.142.246.207
}
